<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="../../tpl/head.jsp"%>
<link rel="stylesheet" href="statics/css/secondarytitle.css">
<link rel="stylesheet" href="statics/css/BasicData/tpl/newupfiles.css">
<div class="layui-fluid">
    <div class="layui-card">
        <div class="header">
            <img class="img " src="statics/images/titheader.svg">
            <span>新增修改目录</span>
        </div>
        <div class="layui-card-body">
            <form class="layui-form" action="" lay-filter="editor-form">
                <div class="layui-form-item zdy-item-css">
                    <div class="layui-inline">
                        <label class="layui-form-label">目录名称</label>
                        <div class="layui-input-inline">
                            <input type="text" name="name" id="name" lay-verify="required" autocomplete="off"  class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">目录编码</label>
                        <div class="layui-input-inline">
                            <input type="text" name="code" id="code" lay-verify="required"  autocomplete="off"  class="layui-input">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item zdy-item-css">
                    <%--<div class="layui-inline">
                        <label class="layui-form-label">所属上级目录</label>
                        <div class="layui-input-inline">
                            <select name="pid" id="pid" lay-verify=""   lay-search>

                            </select>
                        </div>
                    </div>--%>

                    <div class="layui-inline">
                        <label class="layui-form-label">所属上级目录</label>
                        <div class="layui-input-inline" >
                            <div id="pid" class="xm-select-demo"></div>
                        </div>
                    </div>

                </div>
                <div class="layui-form-item zdy-item-css">
                    <label class="layui-form-label">备注描述</label>
                    <div class="layui-input-block">
                        <textarea name="remark" id="remark" placeholder="请输入内容" class="layui-textarea"></textarea>
                    </div>
                </div>

                <div class="layui-input-block" style="margin-top: 200px">
                    <button class="layui-btn" lay-submit  lay-filter="form-element">提交</button>
                </div>

            </form>
        </div>
    </div>
</div>
<%@ include file="../../tpl/foot.jsp"%>
<script src="statics/js/BasicData/tpl/newupdirectory.js"></script>